Add API for Analysis resource.

 * Update serializers to include basic properties.
 * Fix list of permitted attributes in AnalysisPolicy.