Fixed some block checks

* Fixes #1330
Cleaned up simulators
Improved redstone simulator

* Fixed style inconsistencies
* Used more C++11 features
* Improved speed perhaps
Fixed compilation?
Added cocoa pod.
Fixed the width sometimes going over the div size
Merge branch 'master' into redstone
Removed test
Reverted main_APIDump.lua changes
Made comment in example code smaller
It caused the whole page to extend beyond the max width
WormNestCaves occasionally generates sandstone around the cave
Only when the block around the cave is sand.
Merge pull request #1663 from mc-server/APIDumpSize

APIDump Width
Merge branch 'master' into Cocoa
Fixes
Merge pull request #1664 from mc-server/SandstoneCaves

WormNestCaves occasionally generates sandstone around the cave
"Don't set compiler to gcc on clang builds"
Fix forgoten thens
Double equals
final syntax errors
Clang needs the libstdc++ that comes with gcc-4.8