Removed unwanted includes and shifted non shogun include to .cpp files.

There were stdio includes in many header files which were not required, they have been removed. Also non shogun includes were shifted to .cpp files. Everything was compiled locally which went correct.
If some changes are required let me know i ll run them locally and then squash commits.
See Travis errors in the first job. This change broke compilation.