Remove: Extra import statement

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Fix: Style error in daemon base class

There were missing new lines after the if statements.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Add: More clear comment to stop method

The stop method still removes the pidfile if it exists. This
prevents the pidfile from staying even in the event of the cleanup
method never getting called.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Add: Comments to explain signaling in stop()

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Fix: Indentation error in daemon base

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Add: Checks for PID in tests

Previously the tests relied on checking the PIDFILE and the log file
as a way of determining if the process was running or stopped.

Now the tests actually call out to 'ps' and check that the pid
contained in the PIDFILE is actually active or killed.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Add: TravisCI config file

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Merge pull request #4 from kevinconway/reliability

Fix: Style, comments, and tests