fix gcc warnings : base class ctor.

warning: base class ... should be explicitly initialized in the copy constructor
fix gcc warnings : -Wignored-qualifiers.

warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Merge pull request #515 from polch/gcc-extra-warnings

Gcc extra warnings