Merge pull request #578 from mattoufoutu/master

api's get_option function doesn't lookup the right object
Fix for an Issue #580
Fix for an Issue #577
PEP8
remove unused imports
fix commit method usage (belongs to connection, not cursor)
do not reset options when firing a scan
make returned values more coherent
return file content in a json message when calling download endpoint
unused imports
avoid using global variables, use a "store" class
all instance attributes should be defined in constructor
avoid names shadowing
moar logging!
Patch for an Issue #584
Patch for an Issue #565 (DuckDuckGo doesn't like identity encoding)
Minor update (proxy can be also a https one (e.g. Burp for HTTPS targets)
Minor patch for Issue #585
Merge pull request #583 from mattoufoutu/api

RESTful API improvements
Minor patch for an Issue #575