Fix #176, error where routes were not registering correctly.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Merge branch 'develop' of github.com:dingo/api into develop