added template option accepting a function instead of string. added sublime text project file to gitignore, updated doc, updated readme
added sublime text workspace file to gitignore
reintegrated develop in master + updated docs