Fixed test server stop message handling

Moved receive of stop message to listening process
instead of connection and modified listener to come
up for air every once in a while to process.
Ignored temporary .rebar files
Created base for functional tests

New eunit based test harness for functional
tests that require a running test server in
order to run.