Use jquery to show/hide publication addition

Also add success/error messages, and remove unnecessary view and
template for adding publications.