UI_WEB: Making the autoconfig call asynchronous

Got started, it outputs the lines that get outputted by HHCONFIG out to
the console right now. Going to make HHCONFIG output nmap's output
and then write the aggregated stdout onto the /autoConfig page.
Merge branch 'integration' into AsyncHostConfig

Conflicts:
	NovaWeb/main.js
HHCONFIG: Adding a space

Forgot a space in an error catch.
HHCONFIG: Generic try/catch around main

To catch all the errors that aren't caught specifically, generic try/catch 
is now around main. Doesn't print out an ideal amount of information, but
should be enough to get someone started on a bug report or debugging.
MISC: Getting rid of old mailer stuff

Currently the old mailer bash_script is present in the repo, as is commands
in the postinst and such for the setup of the script. As we don't need this 
anymore(thanks to the SMTP stuff), I'm removing it.
HHCONFIG: Write Nmap's stdout to HHCONFIG's stdout

This is all in the name of making the call to hhconfig as asynchronous as it 
can be. 

Basically uses popen instead of system to start a child process that is 
that nmap call; writes out everything from nmap's stdout to 
honeydhostconfig's stdout.
MISC: Take nova_mailer line out of Makefile

Forgot to do this earlier, just noticed the error. 
UI_WEB: Indent causing page load failure

Just a comment I made at the end of the day yesterday, committed it 
but there was a tab instead of four spaces.
UI_WEB: Getting hhconfig output onto console

Worked yesterday, but the method in main.js was lost, and after I remade
it (I'm pretty sure) almost exactly as it was it doesn't seem to spawn the 
process at all. The spawn call is made, and then the onExit signal gets hit
with the process returning exit code 0; however, none of the actual 
processing that the autoconfig does actually gets done. I run the 
autoconfig on its own with the same args, and it works. 
UI_WEB: HHCONFIG writes to console.log now

Got it to a point where the stdout from nmap is subsumed by the stdout
of the autoconfig, which is then spat out by the client side console. 

Going to work on getting it to either parse nmap output with the 
--stats-every flag enabled (provided ReadableStream class allows
something like that) or (at the very least) just print the stdout of 
autoconfig to the page. Going to look at ReadableStream tomorrow.
Merge branch 'integration' into AsyncHostConfig
UI_WEB: Setting up lightbox for AutoConfig output

Currently the output gets written to the page just fine; formatting is
horrible though, working on that. 

Commit before getting new changes to integration and checking merge
problems.
Merge branch 'integration' into AsyncHostConfig
UI_WEB: Lightbox for autoconfig output

This seems done, I'm going to test it in firefox as well to see how it looks,
but the output prints out, there's a spinner, etc.
Merge branch 'integration' into AsyncHostConfig
Merge branch 'integration' into AsyncHostConfig
UI_WEB: Refactor common code for add and edit profiles

Took a leaf out of the config page's book and separated add and edit 
only by html; they both  include the common code base that has been
worked on as if it were two pages sharing common code anyways.

Issue: #296
UI_WEB: Convert addPort in commonHoneydProfile.jade from innerHTML
to DOM object manipulation

Before, the addPort method in the commonHoneydProfile.jade file
was constructing the port rows by just using strings and then appending 
the row string to the innerHTML of the portTable. This had the unfortunate
side-effect of redrawing the entire portTable DOM object, which would
result in changes to ports being lost. Now, all of the row construction has
been converted to using document.* methods, which should allow
for adding ports without losing changes.

Issue: #294
Merge branch 'integration' into AsyncHostConfig
Merge branch 'integration' into AsyncHostConfig