Command line argument parsing support

- Add arguments for setting configuration file and running process on
  foreground.

Change-Id: Id1a856ff9b356abbddbc3edc27352b57c8bf796e
Signed-off-by: Mika Tammi <mikatammi@gmail.com>