add MetadataValue javadoc
Minor upgrades to various components
ISPN-3526 Inject dependecies into the marshaller used for compatibility mode

Also cleanup related tests.
ISPN-3497 getCountRowsSql() has wrong SQL syntax
ISPN-3516 Remove deprecated API

* Upgrading to 6.0 documentation updated
ISPN-3414 Infinispan ignores DatabaseType configuration