[spaces.interface] updated CRTP handling

In particular, use .as_inp() on an argument when forwarding with any
CRTP macro.
[spaces.constraints] update CRTP handling
[spaces.constraints] simplified Dirichlet constraints
[spces.cg.base] fixed constraints handling