Redmine#1032 - makes readfile() more generic, able to read /proc, /sys files on Linux (based on Ted's work, insights from Bas)
Adding readfile() acceptance tests from Ted Zlatanov
Adding a file to readfile acceptance test, using 0 as maxsize for /proc and /sys files
cf-agent --bootstrap fails on Debian systems, because sys.workdir/inputs is a symlink to /etc/cfengine3. The bootstrap creates 'failsafe.cf' in /etc/cfengine3, but cf-agent complains that this sys.workdir/inputs is a symlink. Both must fail/complain or we accept symbolic link to a
directory.

This patch enable the last option. It will determine if the destination is a symlink to a directory and ```copy_from``` attribute ```type_check : false``` is set.  If both options are true the copy will be honoured.
Merge pull request #1041 from lpefferkorn/fix_cfreadfile

Redmine #1032 - makes readfile() more generic
Merge pull request #1050 from basvandervlies/cp_2_symlink_directory

cf-agent --bootstrap fails on Debian systems.
Tagging folders, not files.
Merge pull request #1038 from cduclos/acceptance-test-tagging

Tagging acceptance tests
Due to pull request https://github.com/cfengine/core/pull/1050 we have to add to` ``copy_from sync_cp```
 * type_check : true
Merge pull request #1051 from basvandervlies/fix_02_maintain_010_test

Due to pull request https://github.com/cfengine/core/pull/1050
Redmine#1032: fix 1-byte read issue