Acceptance test for getvalues() - (Bug #1271)

Adding an acceptance test for getvalues(), to be sure that if the array contains
list elements on the right hand side then all of the list elements are flattened
into a single list to make the return value a list.
Fixed regex for commented lines in *_variable_values_ini
Fix compilation on Mac.
Silence compiler warnings.
Robustify reading of /proc/stat.

Thanks to P. Christeas <xrg@linux.gr> for the original fix.
SeqLength should segfault on NULL input;
Merge pull request #317 from shaunamarie/bug1271-evaluation-getvalues

Acceptance test for getvalues() - (Bug #1271)
Add assert for SeqLength
Merge pull request #323 from cduclos/master

Add IsVarList(...) helper to identify list values in variables.
Merge pull request #321 from jkrabbe/bugfix/regexp_in_variable_values_ini

Fixed regex for commented lines in *_variable_values_ini
Fixing typos