[the-vault] separate module for configuration

Also module is renamed to unit to avoid clash with global 'module'
inherited from node.js-like module system

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>