Adds custom init script

Implements #277
Merge pull request #319 from hazelcast/feature/277-custom-init-script

Adds custom init script