IW: Start testing

Minimal karma testing integration. 
Funny, you basically did here what I was planning to do for the main lib: combine tile source, layers, and styles into one file (I thought there might be some reusability in keeping them separate, but in practice it's felt unnecessary).