prompt: Handle empty input as operation canceled

PromptIndex and PromptStory now return ErrCanceled in case the input is
empty. This can be then treated as operation canceled by other app code.

Story-Id: SF-31
Change-Id: 2cce60e9ad