Support for nested queries and edismax search

+ function to perform edismax search
+ helper function to create nested queries