Changed to database to persistent

Db will be created in ~/.plasync/data
Changed db server to use TCP

Changed so it supports simultaneous connections for testing.
Implemented a refresh for the Friends Fragment

Includes adding an indeterminate progress indicator to the tab so users can see when data is being refreshed.