MULT: Starting work to allow for saving and loading of entire honeyd configurations

Right now just getting the base work into place for allowing this feature.

Issue #6
MULT: Interim commit for work on save and load of honeyd configurations

Most of the groundwork is done, just trying to get more backend stuff
fleshed out before moving forward to UI.

Issue #6
Merge conflict resolution

Both of us added new config vars, this'll be a long ride
MULT: Adding/Cloning configurations now works

Some work needs to be done on the straight adding part; through adding 
a default intermediate profile between "default" and the rest of its children,
that profile may never be deleted (because of Doppelganger being its child)
and thus leading to another special case. Will investigate further.

Issue 6
Merge conflict resolution
QUASAR: Add port number to script page profile list

Help the user see where it's being used, etc.
MULT: More support for save/add/switching of configurations

Can now add a new configuration or clone an existing one. No conflicting
names are allowed. The default configuration is sovereign, and cannot be 
deleted. 

Can now clone a configuration off of a pre-existing configuration. 

Framework is now in place for allowing removal of configurations, still 
testing some workflow elements.

Tasks left: Provide a summary section s.t. on the page, when a new config
is selected, the user can get a decently abstracted overview of the 
composition of the configuration, and decide upon action from there.
There will be no way to edit individual components of the configurations
from this page; i.e. there may be a profile tree, but none of the elements will
be selectable. Merely meant to allow the user an 'educated guess' as to 
what's up with a given configuration and navigating quasar normally from 
there.

Issue #6
Merge conflict resolution
Merge conflict resolution
QUASAR: RemoveConfiguration now callable from web interface

For any configuration that has been user created, the option now exists to 
remove said configuration by selecting it from the drop down and 
subsequently pressing the remove configuration button. deletes the created
directory after the user confirms that they do indeed wish to delete the 
configuration.

Issue #6
QUASAR: Work on Configuration summary and fix some typos

The scripts (and their associated profiles) are shown for the 
configuration summary as well as the profile tree. 

Plans:

Profile tree 'onProfileSelected' method will pop up lightbox showing 
more specific details on a per profile basis

show pi graph of how many nodes there are of each profile

Issue #6
QUASAR: onProfileClicked work save for integration merge
Merge conflict resolution
QUASAR: Remove many debug prints, fix remove configuration, add pi chart

Remove Configuration wasn't deleting the config entry from the 
configurations.txt file, meaning that if you made a new configuration
named 'asdf', removed it, and tried to either make a new configuration
with the same name, or clone an existing configuration and give it that same
name, the process wouldn't complete adequately. 

There's now a pi chart on the config summary screen that shows how many
nodes there are per profile within a configuration.

Issue #6
Merge conflict resolution
QUASAR: onProfileClicked shows lightbox with some basic information

Shows the profile edit page information, sans ports. 

Issue #6
QUASAR: Work on making the look of the configuration summary page better

Configuration Summary is set to look a little better organized, as well
as some little graphical things being fixed.

Issue #6

Signed-off-by: awaldow <a.wal.bear@gmail.com>
QUASAR: Saving profile wouldn't change UptimeMax value

There wasn't any logic within the now.SaveProfile method to allow for
the modification of the uptime max value, which ultimately meant that
even when the templates were saved, the uptime values would remain the
same (and thus, incorrect). This was causing some aesthetic problems on
the configuration summary page. Fixed now.

Issue #6 (tangentially)
QUASAR: Configuration Summary provides port information, scrollable

Within the onProfileClicked lightbox, there is now port data, though
rudimentary in presentation. Scroll bar for overflow.

Issue #6
Merge conflict resolution after merging honeydConfigManage into 
integration to stop further merge conflicts