Adds test for duplicate key insert
Fixes #333 by catching exceptions thrown when moving to oldDocuments
Merge pull request #342 from laserval/0.4.x

Fixes #333 (cherry-picked from master)
Fixes broken configuration when modifying stages in the GUI, if those stages were not inserted by the GUI

All stage configurations that the GUI touches will now get the fields stageName, stageGroup and libId added to their properties map.
This means the stagegroups endpoint returns a modified properties map that contains the fields, and adding a stage using the Admin Service automatically adds the fields.
The stages endpoint will return only the fields that are currently stored in the database, with no additions.
Merge pull request #343 from laserval/0.4.x

Fixes broken configuration when modifying stages in the GUI, if those st...
[maven-release-plugin] prepare release 0.4.2
[maven-release-plugin] prepare for next development iteration
Lowers logging level of SplitStage missing field
DRY
Merge pull request #346 from ssimon/0.4.x

Added a split stage, a static action stage and secured the SimpleHttpFetchingStage to handle entities without specified encoding
Makes failed stage API calls to the Core log in a more understandable way
Merge pull request #347 from laserval/0.4.x

Makes failed stage API calls to the Core log in a more understandable way
[maven-release-plugin] prepare release 0.4.3
[maven-release-plugin] prepare for next development iteration
Adds RaceConditionIT for issue 349 and makes the number of io threads configurable
Synchronizes MongoDocument.putAll in an attempt to fix concurrency issues
Reformats all touched files in PR
Removes assertion which tests nothing
Adds Main.stop() and cleans up a few log-strings.
Sets race condition tests to ignore. The test can reproduce the issue sometimes, but is too unstable to run on build servers. Needs to be revisited