Add a command-line interface

The command-line executable can be turned on or off with cmake. It
defaults to off.

As of now it's pretty dumb, and only does nonrigid_lowrank.

Depends on gflags