Fixed crlf issue
Added some more docs
Merge pull request #214 from AIM360/weibelt/fix-eol

Fixed crlf issue
std::auto_ptr is deprecated in c++11/c++0x

This will use std::unique_ptr on C++11 and remove deprecation warning.