Added support for modules

Typically a module route is defined as "/module/controller/action". So, for API, we make it "/api/module/controller" (the action is anyways the verb)

We could not include the following two lines because it can potentially cause ambiguity:
'<module:\w+>/<controller:\w+>/<id:\d+>'=>'<module>/<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',

So, to ensure sanity, I just kept the following route definitions:
'<module:\w+>/<controller:\w+>/<action:\w+>'=>'<module>/<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',

Hope this helps !
minor changes to routes structure
Merge branch 'support-module-routes'