new function to create random identities
removed some debug functions
wismote compatibility

correcting types and methods to work with wismote nodes
contiki timestamps

reworked timestamps so they can be used without sys/time.h which isn't
available on non-unix platforms.