Adding arguments pre-check for glance-replicator

Based on current implement, glance-replicator will expose trace
if there is no arguments specified or the server:port format is bad.
This fix will add pre-check for those sub commands.

Fix bug 1202513

Change-Id: Ib8a90ce583cf938c9fdc0e8ad36af2ef8dfc976b