templates_from_dir takes a file pattern

This way the function could be re-used to create templates from real rpm
files as well.

related to xenserver/planex#53
YAGNI: remove name property from SpecTemplate

This property was not used at all.

related to xenserver/planex#53
Fix unittests on 32 bit systems

Bit of a hack - dynamically detecting the machine, and using that for
the assertion. It will get the development carry on for now.

fixes xenserver/planex#57
Merge branch 'fix-32-bit-issue' into matemaster