Replace auto_ptr with unique_ptr.

As auto_ptr is deprecated with C++11.
Harmonize autogen.sh within project.

This version should work on all supported platforms, opting to using
autoreconf if available.
Bump development version.