Move business logic of checking if FB button should be shown out of
achivement popup view and into user model.

Create a new user model function to check if FB share button for
achievements should be shown.

Use this new function in the popup's view.

References Coursemology/coursemology.org#179.