contains_binary function added
some functions declared as const
Qt-compatibility improved