Add libraries and queries to offilne files.

https://github.com/thomaspark/glyphsearch/issues/11 & https://github.com/thomaspark/glyphsearch/issues/15