Refactored tab lock setting so that the lock setting is stored in the tab object itself.
Don't display pinned tab in the lock table.
Pinned tabs are no longer added to the tabTimes object.
Moved tab lock list to the tab manager.
Now tabs need to be already registered for them to update.  Only non-pinned tabs in a normal window can be registered.
Added listener to handle pinning and unpinning of tab.

When a tabs state is changed to pinned, it is removed from the registered tabs.  When it is unpinned, it is re-registered.
Renamed tabTimes to openTabs.  Changed the object to hold tab objects as opposed to just times.

This will allow us to store the locked variable along with any other tab data in openTabs.
Merge remote-tracking branch 'origin/tablock-refactor' into tab-manager-refactor

Conflicts:
	js/tabmanager.js
Merge branch 'refs/heads/pinned-tabs-refactor' into tab-manager-refactor

Conflicts:
	background.js
	popup.js
Fixed the tab lock

Tab lock data is now stored in the tab object in the tab manager, and it works properly.
fixed a bug where pinned was being checked improperly causing tabs to be re-registered.
rewrote multiple functions to be more functional.
modified tab check process to use the new lock system.
re-enabled tab check process.
Removed the listener for onUpdated that updates last accessed.
Last accessed should only be updated when a tab becomes active, since
active means the user navigated to it, but onUpdated can happen when a tab
is in the background.
Rewrote the function that closes tabs so that it is more functional.

The close tab function now handles figuring out what tabs to close properly, so that pinned tabs aren't even considered, and locked, unexpired, and active tabs cannot be closed (but are still considered).  Tabs also close in the order that they were accessed.
Removed the new onUpdated event listener; it wasn't working out between us.

Also modified the wrangleAndClose to take a list of tab object and pull the required data from that object instead.
Corral now works with new tab close function.  Re-enabled auto closing on a timer.
Badge count now only updates when it has to as opposed to every 6 seconds.
Closed tabs are now saved between quits. Removed old saveTabs function.
closedTabs.init now handles all initilization cases for closedTabs from local storage.
initial commit for new tab close scheduling system.
Attempt to try and get tab scheduling working.