(feat/user page) Refactored entire code to use nvd3 directives and created factories 

1) Refactored code to use  nvd3 directives 
2) Refactored code to use factories for getdateandCommits and getUserCommitsperLanganguage
3) Changed User commits per language graph to a pie chart 
4) Tested both graphs and both are showing correctly