Fix timing for protocols
Add register demos for HTML and mytype with registerProtocolHandler calls; add mytype (JSON) demo
update readme re: JSON and missing file extension handlers