Fixed and Improved stuff!

Change Log:
1. Fixed score calculation (again!), was not showing the result of the
score function.
2. Fixed db helper function getPassedQuestion.
3. Added 2 global-s, one for number of questions and one for passing
score.
4. Fixed weight-age of passing the question properly.
5. Fixed /mInsert Page, now default, fills db with random questions with
random a values, increasing b values and constant c values.
6. Slight fixes here and there.
7. Added question number when the questions are presented during the
test.
8. Reduced the impact of passing the answer on the next question.

PS: Loads of cleaning up is required... everything is a mess atm! glhf!
Integrating changes by arthasdk into master of the main repo