[basisfunctionset] allow for arbitrary type of input value in functors, add scal…
…arProduct specialization for double.
This should enable the full Template Expression functionality from vectorial shapefunction sets. We should consider backporting this into the release.