Stargazer (*Just for review, Do not merge*)

The logic for retrieving the starred modules for a particular user is incorrect... I have commented on  the respective scripts.
@oalders : I am working on the same, though if possible please do check the comments. 
Thanks a lot :)
Yup. I didn't pay heed to it while referring to the favorites code. Sorry