Adds an initial dungeon preset, refactors border code to properly create dungeon walls
Fix for flickering thangs due to exact same coordinates
Number of decorations scales appropriately with preset size
Prevents overlapping of randomly generated thangs
Adds undo and redo buttons in editor topbar
Adds rooms and doors to dungeon preset
Adds temporary hack for infinite loops in randomise
Ensures randomised thang clusters do not overlap each other
Fixes bug in undo/redo on SystemsTabView
Updates glyphicons for undo-redo, adds placeholder text for add thangs search
Adds randomize button in case of level with no thangs
Merge pull request #1388 from jayant1992/terrain-generator

Terrain generator and level editor updates