routing based on controller.action syntax

Added the routing for controller.action syntax. User can still use the old syntax of creating object literals for routes.

'/' : {
    controller: 'home',
    action: 'index'
}

or

'/' : 'home.index'