Modified a test to change the way connections are created. The purpose of the test is to test counters, not connections so it shouldn’t matter much.
Made sure I was using new CPEntityManager rather than the old EntityManagerImpl.
Added code that was left out in last commit that used the mutator to push in counters increment.
Merge branch 'two-dot-o' of https://github.com/usergrid/usergrid into USERGRID-162_import-counters

# By Furkan Bicak (4) and others
# Via Dave Johnson (2) and others
* 'two-dot-o' of https://github.com/usergrid/usergrid:
  Some progress in getting Services module tests working with Core Persistence.
  Restoring CP based implementations which were incorrectly commented out by previous greyes commit.
  Added extra param to relation manager
  Fix scheduler test 8.
  Updated tests and implementation for type prefix scanning
  Initial API refactor for prefix scanning on types.
  Comply with the indentation used inside Chop module
  Support different cluster names for ElasticSearch
  Comply with the indentation used inside Chop module
  Add failover for elasticsearch if there are other nodes in the cluster

Conflicts:
	stack/core/src/main/resources/usergrid-core-context.xml
Set mutator comment.
Merge pull request #183 from GERey/USERGRID-162_import-counters

Usergrid 162 import counters