Detecting if the value being stored is an object. using angular's fronJson and toJson methods to parse it.

This saves the user from having to call the stringyfyJson() and parseJson() before getting and setting to the local storage. Those functions can also be now ported over to use angular.toJson and angular.fromJson(). That change is not included in this commit.
Merge pull request #16 from nmehta6/master

detecting if Json needs to be parsed or stringified as part of addToLocalStorage() and getFromLocalStorage()