Test JSONRPCServer.registerMethod()

 - Test failure on duplicate methods
 - Test Multiple methods
Add vim swp files to .gitignore