Models of quadratic quantum algebras and their relation to classical superintegrable systems