Initial sync function implementation
Add forgotten os import
Set options explicitly

When shelling out to the sync script, set options explicitly,
rather than sending arguments in.
Return an error if no lock file

Users should only be able to run sync if start has been called.
Merge pull request #4 from ryan-lane/sync

Initial implementation of sync function