[#13] - first step at getting reload middleware working
[#13] Update reload middleware to use history logic.
[#13] Refactor inject logic to seperate module.
[#13] Create a closure around the injected JavaScript.