Avoid PHP notices before module fully configured

Add isset() checks for config array items to prevent unnecessary PHP notices showing up if config array hasn't been populated yet.
Merge pull request #6 from teppokoivula/master

Avoid PHP notices before module fully configured