added methods and properties

Methods

hasLocalStrorage: used in all public methods to allow js not to break
if LocalStrorage is not supported

getTrackedEvents: returns array of all trackedEvent objects that were
stored in LocalStorage

getTrackedPages: returns array of all trackedPage objects that were
stored in LocalStorage

sendToGA: still needs ajax call

sendToGACompleted: callback method when tracking has been sent to
google analitics

Properties

settings.id: string: used as prefix to uniquely identify LocalStorage
keys made by this Class Instance