More refactoring - moved API validation into api.py, moved queries into query.py
Use common query / api methods and clean up logic
Merge pull request #4 from sbromberger/master

Refactoring and threat_recon_request consistency