Change start and stop mechanism for DynamicMySqlEntity to work on Linux

**Update** This is code that should have been part of #915 - the code that was merged was incorrect

Conflicts:
	software/base/src/test/java/brooklyn/entity/software/mysql/DynamicToyMySqlEntityBuilder.java