add utils.url_join_encode

like url_path_join, but escapes url components
make sure to encode URL components for API requests

notebook names can have spaces, hashes, other special characters.
uniformity in ajax error handler arguments

send arguments on failed events
test save_notebook with escaped name
Merge pull request #4575 from minrk/encode_paths

make sure to encode URL components for API requests