std::auto_ptr -> boost::scoped_ptr

Change-Id: Iec75c8356aac9d75a478eaae329dbd2400e3a06b
convert new lib dialog to .ui

Change-Id: I99043f2c259b56a7bfc2e7251f128b692e7d0e7f