Return the resulting deferred
Split everything up in multiple plugins reducing  the complexity of this plugin
Making it up to par with the CakePHP coding style
Updated headers
Line endings