Added association restful capability

Added association restful capability in the next ways: 
     /api/dao_factory/1/associated_dao_factory and /api/dao_factory/1/associated_dao_factory/1

Fixed a bug that happened when you asked for an resource that does not exists

Added the feature to define which model should been exposed through this restful API