Preparing for 1.3.1

Refactoring JavaScript and tidying up PHP code. Moving Likes class to
MybbStuff_SimpleLikes_LikeManager.