Merge pull request #59 from mkaim/web

URBNG-35 Initial version of WebAPI - merged with front-end
URBNG-68, URBNG-70 Included some additional tests (in ApplicationSpec and UnitTestSpec) and modified the old ones (in newGameCtrl).
URBNG-70 Fixed update game function. Now, 'id' of the game is set properly.
URBNG-70 Modified test.dependecies to eliminate the warning of unknown geocomplete function.
Merge remote-tracking branch 'blstream.origin/web' into web
URBNG Merge with remote repos
URBNG-68, URBNG-70 Changed variable names for splitted data in filldb method (Application.scala).
 URBNG-35 Initial version of WebAPI - Hal+Json format

From now on successful responses are in Hal+Json format.
Tested only by hand, test will be written as soon as
possible.

Comments:
* response "Content-Type" header is not equal "application/hal+json" but "application/json" just for testing in web browser.
* informations in request are still useless, only format matters
* commands connected with tasks (like "get tasks list", "get tasks info", "get task status") are not implemented yet.
Merge pull request #63 from angieo/web

[Web] URBNG-68 and URBNG-70
Merge branch 'web' of https://github.com/blstream/UrbanGame into web
URBNG-35 Initial version of WebAPI - more commands

Changes:
* Added "join game" command
* Added "leave game" command
* Added "get list of tasks" command
* Added "get task static data" command
* Added "get task dynamic data" command

Still, response information are useless because of very simple game
service mock. Only response format matters (Hal+Json).

Tested only by hand, in web browser.
Merge pull request #66 from mkaim/web

 URBNG-35 Initial version of WebAPI - Hal+Json format
URBNG-68, URBNG-70 Game list and Create new game

Changes:
- Redefined actions in Game controller
- Moved a few methods from controller to models.dal.Bridges
- Modified some methods in models/classes/Games.scala to throw Success or Failure
- Added new functionalities:
     - cancel the game when game's status == published in 'Games list' view
     - publish the game in 'Create new game' view
     - edit the game when game's status == project or published
- Modified 'combineDate' method in models/classes/mutils.scala as suggested earlier (in https://github.com/blstream/UrbanGame/pull/63)
URBNG-68, URBNG-70 Modified case class GamesList (removed Option on 'id') and added a 'tasksNo' column in Games table as suggested by Maciej. Also removed latitude and longtitude from case class GamesDetails and updated necessary data to keep it in line with changes.
Merge pull request #73 from angieo/web

URBNG-68, URBNG-70 Games list and Create new game
URBNG-68, URBNG-70 Added pagination, sorting and searching in Games list view.
Modified display of errors in Create new game view.
Prevented checking the name when the game is in the update mode (if user change the name to the existing one, except the one that is updated currently, server will throw an error).
Changed the labels of 'Save' button when the game is updated.
Extended internationalization to JavaScript. Usage same as basic usage in Scala.
Added the display of archive games.
URBNG Removed Jasmine tests to avoid testing problems. We decided to abandon these tests because of lack of cooperation between sbt jasmine plugin and Windows.
URBNG Removed Jasmine tests to avoid testing problems. We decided to abandon these tests because of lack of cooperation between sbt jasmine plugin and Windows.
Merge branch 'web' of https://github.com/angieo/UrbanGame into web
URBNG Small change in Build to fix SocketException in Travis-CI.