Use plugin_path in config for community modules

This is much nicer than symlinking .lua files to /usr/lib/prosody/modules
and also works for modules that provide libraries.
Fix dumb typo in plugins_path
OpenBSD doesn't have conf.d by default, so ensure the directory exists.
Allow setting the user to run prosody as.

While it can already be set via 'custom_options', it's important
enough to encourage dropping privileges.
Allow changing the location of the pidfile.
Allow changing the location of the log files
Merge pull request #10 from jasperla/confd

OpenBSD doesn't have conf.d by default, so ensure the directory exists.
Merge pull request #12 from jasperla/pidfile

Allow changing the location of the pidfile.
Merge branch 'priveleges' of https://github.com/jasperla/puppet-prosody
Merge branch 'logs' of https://github.com/jasperla/puppet-prosody
Prosody has an rc.d script on OpenBSD, so it can be enabled like any other service.

While here, adjust dependencies a bit.
Merge pull request #15 from jasperla/service

Prosody has an rc.d script on OpenBSD, so it can be enabled like any other service.
Allow for disabling luaevent as it may not work everywhere.
Allow for defining logging sinks, such as syslog (default).
Merge pull request #17 from jasperla/syslog

Allow for defining logging sinks, such as syslog (default).
Merge remote-tracking branch 'jasperla/luaevent'

Conflicts:
	manifests/init.pp
Add parameter validation in main class
Fix some style nits
Merge pull request #18 from jasperla/lint

Fix some style nits
Style nitpicks