bag fix in view calendar
solves bug 1321
catching a stray scenario where a non-array is passed in
Merge pull request #223 from opto/master

fix bug 1321
Merge branch 'master' of github.com:web2project/web2project
applied the rest of opto's fix for http://bugs.web2project.net/view.php?id=1321
removing the tabs for spaces for our coding standard
Merge pull request #222 from greywolfs/patch-1

bag fix in view calendar
shifted the timezone conversion from the preStore hook to the bind step;
this will make sure that we can load/store as many times as we want without damaging existing data;
the bind is only used when we accept data from the user so we can assume it will always be in their timezone when we get it;
Resolves http://bugs.web2project.net/view.php?id=1327
Merge branch 'master' of github.com:web2project/web2project
minor formatting tweak;
fixed the missing global;
resolves http://bugs.web2project.net/view.php?id=1322
fixed an issue where a missing action would not write the audit log
wired the dynamic tasks to be recalculated on *every* task log update instead of just on task updates.. this is more work but should be more accurate
resolved http://bugs.web2project.net/view.php?id=1304
found some stray deprecated classes that snuck away.. Bad, bad classes.
added an array check to make sure we would only iterate over arrays
this handles the System class permissions.. because it's different than all the other modules which extend w2p_Core_BaseObject
Resolves http://bugs.web2project.net/view.php?id=1324
removed this tweak since now the timezone adjustments are made during the bind() step, not store() as before
lots of reworking of permissions here, this resolves these two issues:
http://bugs.web2project.net/view.php?id=1237 (missing permissions) and
http://bugs.web2project.net/view.php?id=1284 (undeletable permissions)
by starting with this fix:
http://bugs.web2project.net/view.php?id=1284 and then:
-  fixing an accidental assignment in a conditional (line 33);
-  changing how a module vs object is permissions checked;

since a user is never allowed to edit or even see permissions related to a module/object he can't see, it *is* possible to block yourself out of a company and then not be able to remove the permission.. yes, it's annoying but it's the only way to ensure that someone can't create a user with higher priviledges than their own
added the %Y-%m-%d date format because Sasquatch asked really nicely;
reordered the formats to use the ones with the actual month names as dividers;
this should be configurable via the system admin at some point;
add russian translation for jsCalendar