started fixing api tests for tastypie 0.9.15
ported API and API tests to tastypie 0.9.15, addresses issue #147