Updated coding style to match ours.
APIDump: Documented the globals.
APIDump: Forgot a function in globals.
Added a simple valgrind script for easier testing.
Changed to SetBlockMeta
Increase piston delay to a second

Another fix for #57
Removed OnDigging for Redstone devices
Added button placement handler

Also removed an unneeded variable in the stair handler
Changed a comment

Was a remnant of my TypeType minecarts :D
Removed some unneeded includes
Merge pull request #186 from tigerw/bugfixes

One feature and a few changes
Fixed a few compiler warnings