db into function, added pivotaltracker integration
db into function, added pivotaltracker integration

DB storage check placed so user can decide whether to store in DB or
not.
DB storage moved to a new function.
Function added for pivotaltracker integration.

mehulved/bugcatcher