Heavily Refactored
 readme file
fixed typoin eviction string  and decapitalised string in language file.
moved updated com_battle  into proper folder
battleHeartbeat re-added
get_message -> get_messages
Merge pull request #6 from justinkelly69/master

get_message -> get_messages
Fixed redirection and saving in Players and Cars

In the database run
ALTER TABLE `j17_jigs_players` CHANGE `iduser` `id` int;
I did this for consistency in Joomla.

Several fields have been commented out in players as they don't correspond to fields in players table.
These probably need to be restored with the correct names.
Merge pull request #7 from justinkelly69/master

Made some fixes to players and cars.
.
Deleted spurious temp files.
Returned id to iduser in players.
Cleaned up jigs.php.
No fixes, just syntax.
Another code cleanup. Please ignore.
Work in Progress. Editing files below.

Ran the following SQL:

UPDATE `j17_jigs_buildings` SET
`type` = 'generator'
WHERE `type` = 'windmill'
OR `type` = 'turbine'

ALTER TABLE `j17_jigs_generators`
DROP COLUMN `line`

ALTER TABLE `j17_jigs_generators`
DROP COLUMN `timestamp`

ALTER TABLE `j17_jigs_generators`
DROP COLUMN `quantity`

ALTER TABLE `j17_jigs_batteries`
ADD COLUMN `timestamp` INT NOT NULL DEFAULT 0
Merge pull request #8 from justinkelly69/master

Put id back to iduser in Players
Updated models.
Merge pull request #9 from justinkelly69/master

Minor Change to jigs.php
Work in Progress.
About to combine views.
Added case statement to building default_generator.