-Added osd_fseek and osd_fclose functions to fileio

-Added osd_fread , and some more work on common.java
fixed up bugs in fileio now loader seems functional
implemented crc check for rom loading . Not the optimal way but works
fixes in common.java