Further attempt at fixing torch placements

Also fixed block on flower placement. #71

Could someone actually verify that this will compile? It's my first attempt at writing C++ and I'm not sure if it will do what I want. Basically, check if the block is solid, and if not, allow only standing on ground torch placement.