Implementing #27, some basic tests

No tests for template engines, sorry. Definitely works with haml project.

The html generated is like

    label for=user_role_1
      input type=checkbox value=1
      caption
    label for=user_role_2
      input type=checkbox value=2 checked=checked
      caption