Moved explicit template instantiation inside namespace.

Clang requires this to happen inside the namespace of the class
(which is in the anonymous namespace) and issues an error diagnostic.
Suppressed some unused parameter warnings.
Merge pull request #488 from atgeirr/fix-eclipsewriter-for-clang

Fix eclipsewriter for clang