Create pdns2_query_api.py

This version is has appended fields to track threat properties through tagging.

This version should be imported or loaded, bound to a variable and called by using something like:
x = pdns()
sub commands can be called by x.ip('1.1.1.1') for example