update_version_info: Use Croogo's plugin path instead of APP
api: when attaching API component, set default priority 8

This is necessary since the API component needs to run before
AuthComponent in order to register the API methods into the controller.