PY3: avoid that strings are considered as iterables
PEP8: minor
PEP8: minor
use "with" statement when opening file
use "with" statement when opening file
DOC: Update attribute name in the docs.
RF: move construction of a simple HRF-convolution based dataset into data_generators

so we could reuse it in other tests.  Also enhanced it with our unused
autocorrelated_noise

Conflicts:
	mvpa2/misc/data_generators.py
make default noise in a simple_hrf_dataset to be a simple normal

autocorrelated noise requires more work since might produce quite funny result for long durations etc
ENH: improvements to simple_hrf_dataset

This is a partial cherry-pick from
d1babc67bbffdf7e4e5e2552a29e4b5a22dc8e58
in enh/glm_trial_estimates branch
ENH: simple_hrf_dataset -- can accept pre-crafted HRF array
ENH: use np.arange to create timeline for HRF + allow for 'naive' resampling instead of proper scipy.signal's

primarily for testing of HRF estimation based on FIR so we could seek identical
results
DOC: New Paper
BUG(TST): unable to save/load namedtuples
Merge branch 'master' into _tent/py3k
MSC: update changelog with recent changes
Merge pull request #234 from nno/_tent/py3k

WiP: improve py3k compatibility
Merge pull request #237 from yarikoptic/master

ENH: example scripts -- cleanup tmpdir automagically via trap
Merge remote-tracking branch 'gh-master/master'

* gh-master/master: (68 commits)
  ENH: example scripts -- cleanup tmpdir automagically via trap
  MSC: update changelog with recent changes
  Changelog for remove_nonfinite_features
  NF: remove_nonfinite_features, which removes features that are NaN or Inf in at least one sample
  DOC: minor (remove/note on absence of Harvester)
  BF: missing comma in a list of tests
  BF: skip two cosmo tests which needs non-ancient scipy for its functionality
  BF: fix test for datatype of values in neighborhood mapping (originally the subdtype function was used with reverse arguments)
  ENH+DOC: use single-line docstrings
  DOC: make more consistent with other doc strings
  DOC: clarify intent of masking using a list of keys
  RF: use maximum 79 characters per line
  ENH+TST: more unit tests
  TST: unit test for setting keys in the mask
  NF: support for "keys" argument when quering mask of selected features
  Fix msvc build failure on Python 3
  DOC: clarify that fa and a of input dataset are nuked when using CosmoQueryEngine.set_output_dataset_attributes
  DOC: typo
  RF+DOC: adding cosmo into modref and adjusting its __doc__ for proper rst formatting. Thanks to yarikoptic for these modifications
  ENH: prettier formatting of CosmoQueryengine that is more similar to that of Dataset
  ...
NF: Compute confidence intervals on binomial proportions

This should be useful for statistical evaluation of classifier
accuracies.
Merge pull request #219 from yarikoptic/enh/simple_hrf_dataset

RF code from test_stats_sp.py into simple_hrf_dataset so we could create "realistic" ones for testing