cleaner
WIP - tests fail - use ajax's "then" instead of {success:...,error:...}

This allows for implementors of ajax functions to not need to look for
success, error callbacks in their options.
fix tests