Feature/misc fixes

- Feature for Hyrise JS query interface to store the history of queries
- Index feature to avoid copying the result list all the time