working on restful

switch deletes to route delete not route post/get
switch ajax calls to allow data-method input, defaults to post
added on error check for ajax calls