On "Badly Behaved" Dynamics. Some Applications of Generalized Urn Schemes to Technological and Economic Change