this pull request fixes #1, #7, #10, and #12 issues and the form resubmission issue

This pull request also contains unit testing with Travis-ci integration based on https://github.com/tierra/wordpress-plugin-tests.

Ways to run this unit test locally :
##### using `vagrant` - you can use `https://github.com/Varying-Vagrant-Vagrants/VVV` 
1. copy the plugin inside the `plugins` folder of wordpress develop. 
2. run `vagrant ssh` 
3. goto `/vagrant/www/wordpress-develop/src/wp-content/plugins/$plugin_name` 
4. run `phpunit` via terminal

##### using `git://develop.git.wordpress.org` (no vagrant)
1. copy the plugin inside the `plugins` folder of wordpress develop. 
2. goto to the navigate to the plugin folder
3. run `phpunit` via terminal

Note: The unit test(s) will continuously going to be updated.