Replace extern string declaration by import from libcpp.

This PR replaces the explicit extern declaration of `std::string` by a cimport from `libcpp`. This should not affect the existing functionality.

When used with Cython 0.20 and up, this should fix #42.