Implementation of new command line support.  Also provide new commands:
nodes select
edges select
nodes deselect
edges deselect

Change-Id: I910acf984b859a0512c596ffe84e2a1d933f4b6f