Board Update

Updating with Patricks stuff
changes to board, node, and api

created function createNewBoard in the board class that generates a new
board. not finished since we have not finalised the map. also we need to
decide how we will generate the troops on the map.
i also made changes to the node class. created a function
generateAdjacentNodes which generates the adjacent nodes based on the
current node object. this also will need finishing since the map hasnt
been completed.
iv added a case for the new board command to the api. i added the new
board object to a session attribute and gave the response back to the
client in a JSON array.
This will all need to be discussed tomorrow as the board and node class
changes will need to be merged for you guys to work on if you agree with
the changes.
Sorry for long commit message :P
Updating with patricks stuff

Updating with patricks stuff
progress with gson

able to return new board json using the gson library. have got a jsp
page working when you can enter commands into a form and get a response.
currently only newboard is implemented. need to work on finding a way to
decode the json that is being stored in the session.
Reinforce

reinforce capability added. able to take post data and return updated
json board. had to change some functions in the serverClasses.
Namely: Game.createNewBoard - created dummy player names, in future use
empty strings as null is ignored when using gson. Board.getNode -
changed == to .equals
More functions

Added attack, fortify, end turn. changed layout from if statements to a
cleaner switch statement. also needed to change some more functions in
the Game class from == to .equals. will discuss tomorrow. I made the jsp
layout nicer too. you can interact fully with the servlet now
junit

putting in junit
API finalised

API should be now finished as per logans description on google docs. but
do not need playerName for any command except claimTerritory
Merge remote-tracking branch 'remotes/origin/TaylorsBranch'

Conflicts:
	.gitignore
	Capstone/nbproject/build-impl.xml
	Capstone/nbproject/genfiles.properties
	Capstone/nbproject/project.properties
	Capstone/nbproject/project.xml
	Capstone/src/java/API/MainServlet.java
	Capstone/src/java/ServerClasses/Game.java
	Capstone/src/java/tests/ServerClasses/GameTest.java