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.