fix compiler errors found when compiling against iOS 7 SDK + ARC
use locale-free strftime_l when building paths
fix crashes in {FILE,DIR}_ptr dtors
act::config can be given custom getenv()
act::database ctor doesn't reload(); can set directory and add files by hand
framework for basic iphone app, builds and runs