CDB additions/fixes, usb dev cart flash fixes,

-Added CDB get buffer size function
-Enabled support for usb dev cartridge flash writing
-Fixed an issue where usb dev cartridge flash writing would fail if
communication was enabled.
-Fixed issue when opening files on cd that are multiple levels deep.
(thanks cafe-alpha!)