erltrek_ship: notify commander when ship is destroyed.

* This will help make sure the commander doesn't try to
  call the ship after it has been killed (even though
  it is monitoring the ship process).


I got a whole bunch of these:

=ERROR REPORT==== 26-Mar-2014::21:13:28 ===
** State machine <0.117.0> terminating
** Last event in was timeout
** When State == idle
**      Data  == {state,<0.116.0>,1000}
** Reason for termination =
** {noproc,{gen_server,call,[<0.116.0>,count_nearby_enemies]}}
erltrek_ship: refactor update_condition.
erltrek_klingon_commander: use ship update_condition to scan for enemies.
erltrek_ship: link with commander.

If either ship or commander process dies, the other should die too,
so using a link makes more sense than monitors.
refactor shell commands.

The shell commands now provide their own result processing functions.

Fix bug in that short/long range scans where not returned as result
to the ship command, but sent as a sync event on the side.

This did not play out well for the klingons,
that look at the data programmatically..
fix broken help command.
drop unnecessary tuple around argumentless commands.
erltrek_ship: take over phaser command from erltrek_phaser.

fix indentation..
erltrek_klingon_commander: attack!

Still a lot left todo, though..
and it feels like the klingons are a bit weak..

Anyhow, they attack, and once their energy
is running low, they flee.. yay :)
(and die if they're unlucky enough to take
 a long route out of the sector :p)
Comment added: in move_ships/2 Speed * Delta must be <1.0
More comment added to erltrek_galaxy:move_ships/2
Add comment of Speed parameter condition for erltrek_galaxy:move_ships/2
Re-enable erltrek_game:srscan/0

* enterprise_command/1 results now come directly as a result
  of the function and erltrek shell prints it, so the function
  was copied here also.
Put Enterprise in the quadrant where a starbase exists

* Add erltrek_galaxy:spawn_ship/2
* Change erltrek_game:init/1
* Add erltrek_galaxy:find_empty_sector_quad/{2,3}
  and the related handle_info({new_ship_quad, ...}, ...)/2
README.md: update to baselevel_20140330, a new master
Add more warnings to rebar.config

* Added warn_export_all, warn_shadow_vars, warn_obsolete_guard
Add erltrek shell command exec function

* Add erltrek_shell:dispatch_and_result/1
  which parse command strings and return the results to stdio

* Update erltrek_shell:server_loop/0 to use the dispatch_and_result/1
Update srscan at starting game to use erltrek_shell:dispatch_and_result/1
Update #shipstate.energy type to non_neg_integer()

* The energy value could be zero
Fix erltrek_galaxy:call/1 return type to term()