QmlDesigner.StatesEditor: Simplify code for adding a new state

We should not have to list all supported version of Qt Quick here.
This also fixes adding states for Qt Quick 2.2.

Change-Id: I9cae15a3c20b2f9540322de2caece830c76cd027
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>