updated from ORM generator
remove cruft from ORM
added back ORM with right kind of laravel 4 url parsing
moved to approved laravel 4 functions