Added new functionality

Add support for passing in a DOM object to $(), error checking for passing empty strings to $(), and added basic AJAX get/post functionality.