move files into a clearer folder structure
whitespace fix
scaffold for the nagios connection api interface
make nagdash less complex and move LiveStatus to its own API
move deep_ksort to utils
move more HTML generation into templates
move compare function to utils and fix JS
some form cleanup
no more globals for building tags
merge curl stats into global array
make $api_type non global
move fetch_state() into helpers
we need 5.4 now
move functionality to get nagios data into helper function
move parsing of nagios state into separate function
move cleaned up nagdash.php to htdocs
move POST endpoints back into htdocs/
make do_action work
fixup nagios livestatus API to work with the refactored code
fix up controls and do_action