ability to switch between singleTile true and false
add tests and finish off the functionality for switching between singleTile true and false
incorporate @ahocevar's review
fix indentation
Merge pull request #821 from bartvde/singletile

ability to switch between singleTile true and false on the fly (r=@ahocevar)