Fixing routes with api

We had some issues where users_path would go to /1/users etc. - these need to be in a separate api subdomain. Looking forward for rails 4 which will automagically apply such conditions when creating the url.