Re-integrate FEAT_SIGNS code, close #383

- omit FEAT_NETBEANS_INTG and FEAT_SIGN_ICONS
- omit FEAT_GUI blocks
Make FPC_* defines an enum type in path.h.
Add os_stat to os/fs module.
Refactor fullpathcmp.