fix(hhvm): hhvm compatibility

Reducing scrutinizer noise
fix(deprecated): fix container reference in getter function
fix(deprecated): fix incorrectly referenced variable
fix(deprecated): fix incorrectly referenced variable
fix(hhvm): hhvm compatibility

Reducing scrutinizer noise
fix(output): terminate attribute formatting early if attributes are not set

Reduce noise in logs by terminating elgg_format_attributes() early

Refs #6458
fix(views): use api to format ajax loader attributes

Reduce noise in logs by declaring variables and using elgg_format_attributes()

Refs #6458
fix(pages): comment out annotaton menu hook handler registration

Do not register a handler for "register","menu:annotation" hook - the callback function is not defined

Refs #6410
fix(views): define type variable

The view is passing a type to the tagcloud view, but it seems the only type that is supported is object
Merge pull request #6461 from hypeJunction/noise

Cleaning up some log noise and scrutinizer bugs