Add basic plugin loading.
Fix issues with 'layout' as a default metadata property

Fixes: usmu/usmu#6