fix store-file handling as parameter in BatchInserterImpl, backport from 1.9
Merge pull request #643 from jexp/batch-insert-storedir-config

fix store-file handling as parameter in BatchInserterImpl, backport from 1.9
Set default replacement decision strategy to be script counting
As last resort, allow user to configure through neo4j properties
Fixes logging of errors on push requests from master
Fixes typo in method name

This is a backport of 65bfd15becfbe8e28088d11c28cdf736c26508e5
Merge pull request #704 from rickardoberg/gremlinfix

Change Gremlin script replacement strategy