improvements

. ffint_hton* macros are now static inline functions
. added debug ffmem* functions