manager.balance() now sends a shutdown message to workers instead of terminating them; Added terminateWorker() function to terminate a worker instance once we read a 'worker shutdown' message from the queue (not yet implemented).
Merge branch 'master' of https://github.com/liranoz12/dsp

* 'master' of https://github.com/liranoz12/dsp:
  Workers sending <closed> to closedworkers queue when they finish all
  Workers sending <closed> to closedworkers queue when they finish all
Manager now properly terminates worker instances, once it reads 'closed <id>' message from according queue;
all .sh scripts now capable of receiving arguments
Set default tasks/worker value for both manager & local; manager & local now capable of receiving tasks/worker value argument on exec
started debuggin all app.
changed balanceworkers() delta calculation, it was buggy.
Merge branch 'master' of https://github.com/liranoz12/dsp

* 'master' of https://github.com/liranoz12/dsp:
  sending instance id to closedworkers queue
Moved HTMLget function from worker to utils; fixed some doc typos; ami user-data now outputs to file instead to stdout/err
added getInstancesByTag() function to Utils, and local and manager now use this; Manager now uses a workerId list and updates it every iteration, counter is now used for counting worker-to-be-shutdown; Workers only send a 'closed' message to the queue, without instance ID;
added log prints for utils.getinstancesbytag(); user-data now sources custom .bash_profile script, so mvn will be in PATH on time.
fixed user-data typo
local is now terminating manager inside execute(); fixed user-data again!; updated ami snapshot
fixed 'closed' message handling in manager; getinstancebytag log prints changed from info to fine
worker no (again) sends 'closed <id>' message on shutdown, and manager handles it.
manager now deletes 'closed' message from queue after processing; remove redundant detelemessagefromqueue() function from Worker (its in utils)
Added optional pdfbox dependency packages to pom.xml
added more tasks to inp test file
manager now sleeps for 30 secs instead of 5 sec, and send a 'closed' message to local queue on shutdown.
fixed 'closed' message to localdown queue.