chore(metadata): Pull most services in MetadataTable into member variables

This also gets rid of the unecessary _elgg_get_metadata_cache() and makes sure
the metastring cache receives string keys.