'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 #2513 from joshmoore/rebased/develop/tiles-py-fix

Tiles py fix (rebased onto develop)