Update basketElements.post.json.js

previously doesn't work  on alfresco 4.2 x (community) neither 5.0b(community). 

modification of the lucene query and delete useless function {getGUIDFromNodeRef} . 
tested and validated on Alfresco 5.0b