Added support for rev2 boards. Exposes a .rev property now. Closes #2.