skyport.Skyport: Clear messages before state

Remove the possibly remaining messages from the queue before we send the
new state to the player.
Make the player set the from field in messages

skyport.Skyport (runGame/4):
    remove call to setFrom
    change name of messages to actions
    change name of message to action

skyport.game.Player (next/2):
    Set from state
Use String/format instead of +

skyport.Skyport (runGame/4):
    Use String/format instead of concatinating string with +.
Correct wrongly formatted string.

LaserActionMessage (toString/0):
    Add space in string to make it display better.
Fix broken test

ActionMessageTest (upgradeActionMessageTest/0):
    Set the player primary weapon field to a completed future as the
    player does now have a future in that field.
Add serializer for Future objects

skyport.adapter.FutureSerializer
        new json serializer

skyport.network.Connection
        gson
        Add FutureSerializer as a new type adapter

skyport.network.GraphicsServer
        gson
        Add FutureSerializer as a new type adapter

skyport.test.Utils
        getMockconnection/1
        Add LoadoutMessage to mock connection.

skyport.text.GsonTest
        gson
        Add FutureSerializer as a new type adapter

        serializePlayerTest/0
        add new test to serialize a player with fields that contains
        futures.