Merge pull request #1 from fobilow/master

added docblock for getOptions
Added some return statements for chainning methods
Added a bit more context to ennum validator error
Minor return the correct constant list
push route data into dispatcher result of application if is IDataHandler
Moved log level checking from CliLogger into Log class so it can be used by other logging mechanisms
convert to single preg_replace
store route data, even if sub routes exist
add data matches before sub routes are processed
Remove additional *
Moved error and exception logging into a separate class so it can be used with any logger
repair sub routes to return actual return
convert simple route to static method
Parent and child PIDs are now accessed through methods so they can't be changed from outside the class
Replace BaseUri with matched path
Fixes T162
do not set options within function call if not configured
Added TimeoutOperation class to repeat a task until it succeeds or times out
Added CUBEX_STATE_DIR to define where PID files and other state-related files should be stored for CLI scripts
Added CUBEX_PROJECT_ROOT constant pointing to the root of the project
allow for decimal definition etc within @length e.g. 10,2