Feature/setup protractor for testing

@bajtos 

Fixes #396
What's the purpose of keeping this huge block of commented-out code around? Please delete.