Resolves issue #112, though isBlockDevice(), isCharacterDevice(), isFIFO(), and isSocket() currently lack constants, hence return false.
Issue #112 - Added mode reporting functions to the Stats object prototype, and appropriate tests
Missing semi-colons added