Testing Framework!  See detailed commit description...

Gowri, this commit/PR sets you up to use a testing framework.  Testing frameworks are a great way to develop (and you don't have to be TDD, you can just write tests alongside to help you as you go and make sure you're not circling back to the same bugs).  To get going:

pip install sniffer
sniffer

^ this will install and run sniffer, a testing loop for nosetest.  The example tests use the UnitTest framework.  See the example in tests/.  It starts up an app, hits a URL, checks the return value for some information, and compares it to what the test expects.  Sweet!

Usually you'll want to leave one terminal window running with sniffer in it as you work.  You'll get nice output as you go, and writing tests is a way easier way to figure out what's going on inside your app than littering print statements everywhere, or running one-off hope-I-can-reproduce-this-later manual tests in terminal.

scent.py just helps sniffer do the right thing; mostly just ignore it unless you're curious.  Focus on the functions inside the test files.  Note that to be auto-detected (yup, tests are auto-detected, sweeeeeet) test files must start with "test" and test functions must start with "test" as well.