[index][intersection_content] Add a condition to make the code more robust and silence GCC 4.9.x warning about uninitialized variable.
[util][core] remove_reference in bare_type.
[core] Use bare_type in closure and point_order.
[test][core] Test pointers and references in point_type, tag, closure and point_order.