Adding a basic rule-based terrain painting implementation.

http://www.garagegames.com/community/resources/view/17145
Merge pull request #272 from thecelloman/kpaint

Adding a basic rule-based terrain painting implementation.