Silence warnings

this PR makes most warnings disappear. 

Some of them are resolved, some are expected/"external bugs" - so silenced. 

Makes the compiler output more readable, allows us to build with -Werror ! (which might be useful for future high quality of code). 

Also resolves the bug in c++0x enable tries (I'll resubmit soon after merged).