Changed Manifest model: callback -> callback_url. Because it gives trouble as callback is a built in method.

Refactored code in the Manifest model. Added manifest factory and some tests for Manifest model.
This might have broken the verification process of manifest. It will be fixed later.
Added manifest as a resource. Some changes in the views are done.