An attempt at auto reloading the page

Stores the time out period in minutes and whether auto refresh is
enabled in local storage.
Fixed reload bugs.

This fixes some reload bugs such as:
reloading in seconds rather than minutes.
Timer not correctly being removed (cause multiple reload instance timers
to be created).
Default values upon page load (text box is now default disabled when
first loaded).
timeoutId will always be "null" when first loaded so no need to clear
timeout.
Removed trailing spaces.
Merge pull request #7 from JamieSharpe/feature-autoreload

Fixed reload bugs.
Merge remote-tracking branch 'origin/feature-autoreload'

Conflicts:
	index.html