Add support for loading by  local URL.

Added loadtemplate event.
Fixed load template failure callback(remove mask).
Add test.json example.