handle test failures with encode('utf-8')'s interaction with StringIO
Merge pull request #52 from tadpol/provisionPolish

Provision polish
fix provision in python 3.x (urlparse is 2.x only)
bump version and fix date in HISTORY.md
Add some provision tests and fix a few things
add -c for --config and change --clearcache to -e
These command only work on a single serial number.

But the type of args['<sn>'] is an array.  So just grab the first item.
List status with serial numbers in long format.
Add comment about the 'sn enable' command.