optimization: only update user trophies on activities that pass level

this optimization reduces response time on milestone POSTs (transaction with most time spent on our production servers) by 1/3rd in local tests
@laurelfan please review (and/or suggest tests/improvements).