Merge pull request #13 from ossapp/master

Merging required changes to handle forked transactions
Moved service options to a separate file so it can be used separately from ServiceDaemon
Header file for state agent
Source file for state agent
Added state agent handler
Added service options
Merge pull request #14 from ossapp/master

Added state agent