Finished JS and jQuery functions for embedding, restructured bh_emb templates

git-svn-id: https://svn.apache.org/repos/asf/bloodhound/branches/bep_0007_embeddable_objects@1513209 13f79535-47bb-0310-9956-ffa450edef68