Few fixes

1) bundle_cli @ line 681: when doing something like `cl add -m "%title: some text"`, the message must be parsed to capture that it's a directive. Otherwise, we were seeing a bug where the directive is added but doesn't show up on the web site until one does `cl edit -w`.

2) bundle_cli @ 695+: improve logic by resolving current worksheet (get_current_worksheet_info) even if no spec is provided. 

3) worksheet_util: add missing `type`.