Headers crossusing refactoting

All types and constants are removed from freeserf.h
Now we can clearly see how modules are using each other.
Again, random_state_t seems to be used in this file but you removed the include.