actually sync plugins to remote host.

Also move pluginsync to the beginning of the process
Merge pull request #11 from pall-valmundsson/fix-pluginsync

actually sync plugins to remote host.