.gitignore KDevelop4 project files.
class_rep: Remove unused friend declarations.
Remove unused internal headers.

* detail/conversion_storage.hpp
* detail/object_funs.hpp
detail::lua_reference: Fix self assignment.
Fix const correctness (TODO comments).