Added hasId method to document to check if id is set or not

Conflicts:
	lib/Elastica/Type.php
#311 Trying to fix mapping test issue with $index->refresh() addition