Prevent multiple instances from running

https://jpos.org/issues/issue/jPOS-100

there are 2 implementations.
A file based one, that creates a lock file in the deplot directory and prevents multiple instances from running using the same deploy file.
A prt based on binds to a port on the system and prevents any other instance from running on the system