'compile' fixes for tiles.py
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
Attempt to fix setChannelGlobalMinMax test issue
Merge pull request #2509 from joshmoore/tiles-py-fix

Tiles py fix