remove unused field frequency from Segment

to make to code clearer to understand and reduce memory footprint
one more frequency field to remove
bump Segment's version,

as made incompatible by (float) _permanence change
Thanks Subutai
Segment: replace magic '1' with VERSION

for latest version checks
Segment,Cells4: version type changed to NTA_UInt16 (unsigned short)

65536 versions is enought for everybody! ;)
Segment: unused function has()
testutils: use return False immediately

return right away, instead of carrying a result=false value all over,
this is helpful to see what part of the check method errored.
exit early in sameSegment test
fdrutilities: use _epsilon onstead of 0.001, comments
fdrutilities: diffTP : exit early
fdrutilities: set _epsilon back to 0.001

from 0.01
CState VERSION back to 1, as no changes

to the python load/store code
Cell: range-based loop
Cell: use at() - constant time, bounds checking

better than segments[]
Segment clear() also _totalActivations, _positiveActivations
Cells4 getNonEmptySegList returns vector<Segment>

instead of vector<UInt> of indices to segments
decrease to std=c++0x (from c++11) since gcc4.6 doesnt support it

c++11 is since gcc4.7+

Conflicts:
	build_system/unix/Includes.am
Revert "Cell: use at() - constant time, bounds checking"

This reverts commit b18d21a5099c72ca3dd703f7017978301409129d.
Merge branch 'master' into reduced-mem