Fix python docs
Fix param docs
Fix missing import
Remove semicolons
Fix whitespace
Add tiles.py test

Migrated from:
https://gist.github.com/joshmoore/816cdf461669a7e06d46