Instance PathPiece Bool with tests

I had to implement this for my website, issue Yesod https://github.com/yesodweb/yesod/issues/701