model loader - when setting collection.url wrap call to each collections url
function in a closure

fixes issue where the url for the last collection defined in the collectionTypes
object would be requested Object.keys(collectionTypes).length times
Merge pull request #8 from natlownes/model_loader_urlFunc_fix_up

model loader fix