Middleware doesn't get propagated to namespaced and custom routes

Before, this didn't work.

map.namespace 'api', {middleware: mw.requireAdmin}, (api) ->
    api.resources 'users'
    api.resources 'places', (place) ->
      place.get 'children', 'places#showChildren'
      place.collection (places) ->
        places.get 'find', 'places#findByName'

Middleware from this needs to be added to params
Middleware not array fix
Clone test fix
Merge pull request #20 from tomaash/master

Namespace middleware fix