Moved all update request logic to client
setType and setIndex method can accept Index and Type objects
Added setType, setIndex methods tests. Fixed document id check in updateDocument
Added some missing Type tests
Added expectedException annotation instead of try catch block in DeletType test
Fixed Document setType and setIndex methods that were broken because of moving to namespaces
Added Client::updateDocument tests
Added hasId method to document to check if id is set or not
Code cleanup. Updated outdated docblocks
#311 Trying to fix mapping test issue with $index->refresh() addition
Merge pull request #308 from munkie/update-document-fixes

Moved all update document request logic to Client class
Add Document->hasId test to complete coverage for pull request #308
Add current stable version to README file #309
Cleanup readme file
Merge branch 'master' into thrift-transport

Conflicts:
	lib/Elastica/Transport/Http.php