add document and it's tests
fix naming convention
add doc on Document.php
add CouchbaseConnectionCompilerPass and it's tests.