Add exists function
Implementation
This is a wrapper function for the .foss-exists.json utility function (https://gitlab.entropy.cc/entropy/foss-sling/blob/master/src/main/java/cc/entropy/sling/servlets/utils/ExistsSelectorServlet.java). The only parameter will be a path. The function should support both callbacks and Promises.