Bug 49647: Take away History.js dependency

Replace with a lightweight wrapper called epoch.js
Hopefully this is the beginning of a distinctive period in the history of
using the History api for our mobile needs..

Change-Id: I48fc0b9f875e99b238a2bcad41b691bb1102a825
Note: Appears to be an unrelated encoding change in this file
Merge "Bug 49647: Take away History.js dependency"