Merge pull request #12 from szimmers/ticket130905d_constants

use module constant for localhost base url
make constants for status, use them where possible
Merge remote-tracking branch 'origin/master' into ticket130905d_constants