Update to work better and with Wordpress elements

Updated the original Ajaxify plugin by browserstate to work better with
Wordpress and to allow the ajaxifying of additional elements on the
page (class of .ajaxify). Also fixed a few bugs in the original code.