Emulate warning messages

1. search hit BOTTOM, continuing at TOP
2. search hit TOP, continuing at BOTTOM
Take :h shortmess into consideration to show warningmsg
Improve error, warning emulation and add option
spec: write emulation of error and warning spec
spec: write spec TODO