Logger class and server threading.

- Made IPC server thread.
- Added Logger class.
Implemented the command line interface.
Refactoring on the application class.
Support for the command line options.
Added mutex operations to the MIDI client.
Merge pull request #6 from keijiro/develop

Merge with the develop branch.