[BUGFIX] Fix use of 'ok' in return values (ES 1.0 compatibility)

Elasticsearch 1.0 does no longer return 'ok' as it does not add any
useful information. This it is no longer checked.

Along the way this change fixes some typos and CGL glitches.