Updated routes for rails 4

**Don't merge it yet, there will be a required pull request for barclamp-crowbar!**