added exceptions
deprecated sync method
removed sync method
renamed MDDocumentNotFoundExcpetion to DocumentNotFoundExcpetion
Added new Exception for the MDStore to cover the case of document not found
updated javadoc