Permalinks in action!

Needs review to make sure this is inline with our plan from Friday. Unit tests have been stubbed. Will need to revise this and test it with actual permalinks on real networks.

Example at http://joao-s-martins.github.io/streamhub-permalink/index.html?lf-content=10772933:26482715