Misc tidy up.

* Updated Windows checks. Use stdbool.h on MSVC because 2013 ships it.
* Removed some unnecessary includes.
* Swapped lowercasing function to use Boost.Locale's, which is more
accurate.
Updated readme.