Finite State Machines!

Have tidied up the repo a bit (removing node_modules folder and adding it into the .gitignore)

Main work is adding in a Connectivity FSM -will handle online/offline stuff and change the class on the content div to be either 'online', 'offline', 'disconnected' or 'probing'.

Next step is to queue up act calls to only be made when we're online, and stored if we're not.