Update lib/apipie/application.rb

Use controller_path() when possible in order to deal with namespaced controller