Used the new VERSION property from 3.2.0 onwards, and improve pattern matching for older versions. Versions < 2 still unsupported.
Merge pull request #62 from tatablack/improve-bootstrap-detection

Bootstrap: use the new VERSION property from 3.2.0 onwards, and improve pattern matching for older versions.