CMTC-93: Allow to execute a JCR query without a jcr:path

https://jira.exoplatform.org/browse/CMTC-93