Embed fixes

Fix for #69 
-----
The template code for embeds is a different file, so I merged in the new table code from the main app template.

Fix for #57 
----
This is a messy error related to `BASE_URL` which was hardcoded to http://open.undp.org, I replaced that variable in many places with `Backbone.history.location.origin`. 

Since the embed also creates links of the form `http://open.undp.org/embed.html#2014/widget/?title&charts&projects&map` you have to manipulate the string to generate a proper non-embed path link such as `http://open.undp.org/#2014/filter/`.

Additionally, if you're in an embed view, all links will open a new page (`target='_blank'`)

Refactoring
-------
For future refactoring, we need to look at where `BASE_URL` and `"{{site.baseurl}}" and see if they still make sense when we have `Backbone.history.location.origin`.