Added classes on links for easier selenium test
Unittest added
Added context in t()
Added public
Mockup of used ctools methods
Refactored a bit due to easier unit testing
Unittesting form generation