CLOUDSTACK-1066: Add definitions for building systemvm template appliance

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit f97e2a6297f5fc6c8325fac486875fdc70eeac44)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CLOUDSTACK-1066: Fix only one postinstall script, install packages etc.

- Remove different scripts, just use postinstall.sh that runs after basic appliance
  is built using veewee
- Port package installation method from old script
- Time the installation/build process

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 04d51c9e4dfccafcd54cd6581434c0db16ef8f85)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
Summary: changed the path from cloud to cloudstack.

The change in package script allowed us to create proper tar under rpmbuild/SOURCES directory

The change in the path enabled us to launch the management server properly.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed-by: Hugo Trippaers <htrippaers@schubergphilis.com>
(cherry picked from commit a9955f155a062a131989bfb30708731e5eafd435)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Summary: Fix path so the right files are removed from the install dir
(cherry picked from commit db3b0d325613b02eaed40e89f7c80db89f0b87ee)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by objects

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 9b691fc443cc27f1e2026ec239fc4aa11a4167aa)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>