Initial document writer

Begun work on #5 non-eager updates
Replacing elastica with elasticsearch
Made the document read only
Added missing document property
Removed obsolete configuration
A bit of documentation fun
Removing alias according to feedback
Docblock fix
Added logging facilities for the writers
Missing configuration stuff
Copy paste typo
Incorporated feedback, playing with criteria visitor
Moved the delegator to the dist file
Missing imports
Removed the criteria stuff
Fixed a few typos
Updated the mapping to use elasticsearch-php api
PHPCS fixes
Fixed tests
More PHPCS