Changed some of github.js's functionality so that we can now get commits too. Also changed it so that we have 'max' as a parameter, so that you can set how many items display.