Strengthened checks to prevent exceptions. Also bugfixing:
1. Create rr:template in case of rr:column, of the form {"column"}
2. Get the logical table view select query in cases when the rr:subject is populated from an rr:column that comes from an rr:sqlQuery