parseinfo: Expose parse_info_cursor_offset()

Also, set symbol for unknown commands and add a test to verify it.

Signed-off-by: Anton Lofgren <alofgren@op5.com>