handle flags with either ' ' or '=' separating the value

instead of only handling '='
also needs some shift cleverness
also add --help and -h options
Merge pull request #10 from ploxiln/flexible_flags_10

support flags with either ' ' or '=' separating the value