Cleanup query code.
Cleanup query code.

Use == null to check for null or undefined method variables.
Ensure all options are consistent with jQuery style arguments.  When
no arguments are passed, return current value, when value is passed
set value and return itself.

fullscale/elastic.js,arowla/elastic.js,wallin/elastic.js,arowla/elastic.js,ErwanPigneul/elastic.js,fullscale/elastic.js