Migrate code to moo

  * migrated the core classes to Moo. 
  * rewrote the testing class for webelements with Moo.
  * fixed a couple of bugs in the tests 
  * reindented stuff (yah sorry about that if it is troublesome)