Add check_mk library files related to livestatus query for views.
Apply fixes to replace workaround for unique validation in forms.