Move tools code to where it is used

All the actual clients of calch.c and princ.c were respectively
in gmxpreprocess and gmxana, so it makes more sense for them
to be there, together with their headers. Removed some
unneccesary #includes of those headers.

Change-Id: I47f6d2f1e3a4670ebba907b874590e362f070eac