adjust default value of level in sync_imports

and value check for <= 0 instead of just -1.

Python 3 no longer allows negative values (relative or absolute), and we should have always allowed 0 to work anyway.

closes #4296