explicitly sets pids directory when not in Rails context
Makes app directory available to consumer and works without Rails
adds support for environment
adds catch-all error handling to run in addition to start
uses environment task only when it exists
fixes some broken things from merge
updates README