Persist tasks.

- Project has been refactored to be able to use
postMessage since this is the only way we can
access the window.localStorage object in order
to persist tasks.