added shared field to Problem class (and IProblem interface)

This keeps track of whether the Problem has been shared to the
exercise repository.
keep track of which exercises have been shared

UI still needs some work.