some code refine to facilitate jd's test

Signed-off-by: Henry Chen <hchen@vmware.com>
add publish functionality when creating opening

Other misc changes includes:
1 fix issues to make 'rake test' pass
2 change coffee script to standard java script.

Signed-off-by: Henry Chen <hchen@vmware.com>
add email validation and show error messages when validation failed
openings index page

1 support pagination for openings/index page.
2 make Address selection more usable.

Signed-off-by: Henry Chen <hchen@vmware.com>
add validation for username
Merge pull request #15 from whywhy36/email_validation

add email validation and show error messages when validation failed
Merge branch 'master' of github.com:vmw-tmpst/heroapp-LetsHire into JobRefine
[46356659] modify seed using correct email format
Merge pull request #17 from whywhy36/modify_seed

[46356659] modify seed using correct email format
Merge branch 'master' of github.com:vmw-tmpst/heroapp-LetsHire into JobView
[46355869] JobDescription: add 'city' field

Signed-off-by: Henry Chen <hchen@vmware.com>
Merge pull request #19 from vmrobin/master

[46689457] add travis ci job
Merge branch 'master' of github.com:vmw-tmpst/heroapp-LetsHire into JobView
Merge pull request #21 from Henry-CF/JobView

[PT46355869] Job Description create/view/edit