Cleaner/Simpler build_entry
Refactor param checking (now use RFC 2119 wording), add 2 checks (state=absent + permissions = incompatible, state=absent + no entity = incompatible)