Update specs for AnalysisPolicy to match requirements.

 * Reword some specs for the ContentPolicy for clarity.
Update AnalysisPolicy to pass specs.
Add API for Analysis resource.

 * Update serializers to include basic properties.
 * Fix list of permitted attributes in AnalysisPolicy.
Merge branch '5-analysis-api'