web: Update suggestions to hide on search submit
Created by: ghost
- Move showSuggetions from QueryInput state to QueryState, passed by props.value.
- Parent component can now hide suggestions on a form submit.
- Add createQueryState constructor for QueryState to facilitate future additions of properties.
Fix #6748