fix dealing with non-FEATURE name patterns

Auditors: nsanch, petko
add a bunch of new heuristics for allowing slug creation