Changed all references of bool to boolean to abide by the latest typescript recommendations.

#25