fix wrapper not found problem for products module settings

When I opened the module settings for an OnApp server product I got a "Wrapper not found" error.
Applying the lines from lib.php line 1664 wrapper_check() also to onapp.php solved the problem.
Maybe wrapper_check() should be moved somewhere else and used consistently by all other files.