amdefine verify

fix scope bugs (class variables not accessible in callbacks).
fix subscribe topic and only subscribe to nsq topic if a topic is set.
Setup foreman groups for state(ful|less) processes. Add defaults in code to all env variables
Test pass. Refer to helper config value rather than straight from env
Merge pull request #7 from mmoutenot/easier_running+amdefine_verify

Easier running + amdefine verify