bugfix /src/extensions/table.js

table variable needs to be reset after table end to support multiple tbales.
Merge remote-tracking branch 'swisky/patch-1'
Be more explicit about detecting fs.readdirSync support.

Tools like Browserify result in a require('fs') that returns something not falsey.