Improve ramsurf packaging

* add distcheck rule to ensure the archive is correct
* add a test case
Make all allocation dynamic

* no more static allocations inherited from FORTRAN
* cleanup some FORTRAN style declarations
Improve distcheck rule to test normal and vectorized C versions
Slightly rework the library interface

Use FILE as primary interface instead of file names.