Pull request for the patches I consider stable

For details, see the mail.
Please use noexcept instead of throw(). Throw has been deprecated in C++11 + noexcept may be implemented without runtime costs.