Add sync on login option to populateDB and load/save process.
Added sync on login to options page.
Converted server url to a select input on options page.

Implemented a network check before taking photo/selecting image, to warn
that image may not be uploaded to the server and would only be available
on the local device.