Add Erubis to Demos extension

Change demo pages to load hook from beef.http.hook_url
instead of '/hook.js'

Fix #1024