[JanrainSharing plugin] remove legacy code
Add more new lines in some files (code formatting)