add strftime() function with docs and tests
Merge pull request #427 from tzz/tz/strftime

add strftime() function
Merge pull request #425 from tzz/tz/1735-classesmatching

Redmine#1735: classesmatching() function
Merge pull request #424 from tzz/tz/2178-stat

Redmine#2178: add filestat function
Update ChangeLog
Merge remote-tracking branch 'tzz/tz/2272-maparray'
Fix: display file mode in octal, not decimal
cfengine_stdlib: add /usr/bin/perl to paths bundle
Fix windows build. The statbuf.st_mode in windows contains only a limited number of bitmask constants:
http://msdn.microsoft.com/en-us/library/aa273367(v=vs.60).aspx
More Windows fixes:
- major() and minor() undefined
- statbuf.st_dev holds the drive number on Windows
Fix broken compilation under BSD-like systems
De-EvalContext-ify and de-Attribute-ize CheckMeasureSanity
Remove unused variable declaration
Fixed '.' and '-' not being accepted by a commands module.

Fixes issue #2384.
Solaris defines minor() and major() in sys/mkdev.h
remove superfluous cfengine:: class from example report
Do an optimization/issue-correcting step during opening the database

Optimization step detects broken databases, so it lowers chances of agents
hanging forever or segfaulting inside libtokyocabinet.
Don't provoke database corruption by mixing read/write and cursor operations
Fix restarting of standard_services with invalid class characters
Closes https://cfengine.com/dev/issues/2404
Merge pull request #490 from nickanderson/bugfix/masterfiles/libraries/cfengine_stdlib/canonify_standard_service_restart_context_restriction

cfengine_stdlib: Fix restarting of standard_services with invalid class characters