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