Fixes #5418 adds enabled clause for annotations
not sure what a flush() is doing there
Fixes #5435: Allows upgrade to boot on old schemas
Merge pull request #5436 from mrclay/5435

Fixes #5435: Allows upgrade to boot on old schemas
Refs #5460 added missing method name to deprecation notice
Fixes #5422 fixes tag processing for file plugin
Fixes #5441 deprecates the entity caching functions
Fixes #5419 adds tests for enabling/disabling annotations and fixes bug with deleting disabled annotations when deleting an entity
Merge pull request #5427 from cash/enabled_annotations

Fixes #5418 adds enabled clause for annotations
Merge branch '1.8'

Conflicts:
	engine/classes/Elgg/AttributeLoader.php
	engine/lib/entities.php
added a function for enabling an entity so devs don't need to do the show hidden status dance
cleaned up entity caching code a little