JSHint fix
Refactoring for example_server.py: split it up into separate files for the RPC and Pastebin logic, and move it into a subdirectory. Also, renamed example_server.sql to pastebin.sql for clarity

--HG--
rename : examples/api.apeye.org/example_server.sql => examples/api.apeye.org/pastebin.sql
Fix getMimeType() to return the Content-Type of the last response, if any. This makes working with REST APIs easier, since the response is the only way of determining the mime type
Minor cleanup for __init.py and pastebin.py
Make sure to call _urlChanged when the "autocompletechange" event is fired
Added REST example to example_server