Refactor|libdeng2: C++11 deprecates auto_ptr

Switched to QScopedPointer for wider compatibility.
Fixed|Line: Avoid conversion to integer

de::floor returns an integer while std::floor returns a floating
point type. Here a coord_t was expected.
Debug|Hexen: Signed vs. unsigned integers