Add aliases_only option

This option allow to write just the aliases in the hosts file, skipping the main hostname.

Also, if enabled, it verifies that some valid value for the aliases option is present.