Tests and changes to allow testing

Tests for parameter generation and query generation and changes to
osd_api.py to allow atomic testing, plus changes to debug_osd_api.py to
reflect the new function signature. Addition of test_suite to setup.py
Unit tests for osd_api and some license statements

Added fake-up pyodbc row class with minimal functionality to allow some
simple testing without a database. More functional testing would require
an actual datastore and more effort.