Added scopes attribute to store access scopes to the manifest model. Added signed_jwt attribute to the manifest model to store the signed jwt.
Changed unnecessary long queries from manifest controller.