Use separate namespace for api actions

Due to a very annoying bug in play, this requires making all controllers
package objects, which subtly changes the namespace.