Enable custom web preferences

This PR adds a `web-preferences` options for BrowserWindow, enabling users to control whether certain features should be enabled.

Fixes #295, fixes #280.