Added the ability to favorite each image

The favored images will remain favored even after a page refresh, due to usage of localStorage.