add tests to gulp build
Add pin validator module

[#45]
fix server test and remove outdated client tests
Add server side pin validation

[#45]
Add pin validator to client side

[closes #45]