Move some definitions to sys/features.

This moves some feature flags to sys/features.h where they belong
and gives them the same values that are established in the settings
file.

Fixes #812.
Merge pull request #820 from waywardmonkeys/sys-features

Move some definitions to sys/features.