move layouts to `cache.layouts`, add `defaultConfig` method
Merge remote-tracking branch 'origin/master' into doowb

Conflicts:
	index.js
use `.setLayout`, fixes test
Merge branch 'doowb'