Only move VMs to poweroff when monitor is 3*monitor_interaval from RUNNING start time

(cherry picked from commit 4236b0f2288b4eafc50e8315f4640a70a984f96f)
Reduce power-off threshold to 2*monitor-period

(cherry picked from commit f902ac76e872648475aacca1d10c8d5781399dbb)
feature #3077: Remove old js libraries
feature #3077: Update .gitignore with bower and node dirs
feature #3077: Add new js libraries using bower
  TODO: Remove noUISlider, crypto and jdpicker old libraries
feature #3077: Fix templates tab check
feature #3077: Fix vnc include
feature #3077: Fix graphs generation
feature #3077: Check if no elements are added to the data table
feature #3077: Fix login.erb jquery include
feature #3077: Fix sidebar style
feature #3077: Remove jdpicker library use html5 input type date insted
featue #3077: Fix default acct start time input
feature #3077: Fix max width slider
feature #3077: Start working on removing nouislider dependency
feature #3077: Fix tooltip z-index
feature #3077: Fix acct datable when the data is empty
feature #3077: Remove debugging code
feature #3077: Fix click event for empty files data table
feature #2461: Do not ask for monitoring info and logs until the tab is clicked