Fix state transition test-case that broke in d768330
Move -Wswitch-default and -Wshadow to global settings, add -Wno-error=shadow to compensate for shadows in Boost 1.55.0
Merge pull request #2 from gsson/master

Build script updates for boost 1.55.0 and a test case change