sync/__init__.py: Adds description for "new" action
layman.py: Moves API initialization to separate function

Also adds new() function for subprocess variant of layman plugin
module.
layman.py: Adds fully functional api sync