added JQL queyr validation. added better handling of stash users who don't have JIRA oauth tokens set up. refactored a bit to make code more testable.