memcache tests are OK
reward test is OK
fix of task.refresh_status()
adding reward model.

db upgrade script is:
for user in User.objects.all():
	init_user_account(user)

for task in Task.objects.all():
	task.refresh_status()

for discussion in Discussion.objects.all():
	user_started_a_new_discussion(discussion.owner, discussion.get_absolute_url() )

for feedback in Feedback.objects.all():
	user_posted_a_feedback_in_another_other_user_s_discussion(feedback.user, feedback.get_absolute_url())

for decision in Decision.objects.all():
	user_post_a_decision_for_vote_regarding_his_own_discussion(decision.parent.owner, decision.get_absolute_url() )

for vote in Vote.objects.all():
	user_voted_for_an_idea_in_another_user_s_discussion(vote.voater, vote.decision.get_absolute_url())

for viewer in Viewer.objects.all():
	if viewer.user != viewer.discussion.owner:
		viewer.user.account.deposit_and_return_transaction_if_ok( title = u"צפיה בפעילות של מישהו אחר",
                                                  positive_item_price = 2, number_of_items = viewer.views_counter, url = viewer.discussion.get_absolute_url())

for user in User.objects.all():
    if user.email:
        user.userprofile.recieve_updates = True
        user.userprofile.save()

for user in User.objects.all():
    user.userprofile.recieve_notifications = True
    user.userprofile.save()