Some resource limit changes

- resizing files struct is not a good idea right now as we can't handle
  concurrency nicely right now for it
- Correct size for rlimits array in proc struct
- Increased the initial size of files struct for now
Verify vnode type when in sys_getdents()

Early verification of the vnode type before trying
to read anything.
Removing some TODO comments