Introduced qunit tests. Added test for getting form's input's values.
Introduced examample of implementation of registration logic from web
page.