Implemented refinements:
* readded validation and changed it to pass unit tests
* changed default url
* changed default dataType to html since this makes more sence in remote
* context