-fix different processing of url alias between gui and background updates. (could create a invalid pf rule)

-fix different processing of url alias between gui and background updates. (could create a invalid pf rule)
-ignore text after space character (which allows to use the spamhaus drop/edrop lists)
This logic allow the function to end up processing a mixed file, if both parameters are set to true. What do you think about having something like this:
```
function parse_aliases_file($filename, $type = 'subnets', $max_items = -1) {
  ...
}

function parse_aliases_subnets_fie($filename, $max_items = -1) {
  return parse_aliases_file($filename, 'subnets', $max_items);
}

function parse_aliases_ports_fie($filename, $max_items = -1) {
  return parse_aliases_file($filename, 'ports', $max_items);
}
```