Add mercurial support, change default mock config file

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Use a new mechanism for inserting info in the spec templates

Rather than directly controlling Version, we now put this into
a 'planex_version' define if it exists. Therefore a line like:

%define planex_version undefined

will turn into

%define planex_version 0.1.0+20+gabcdef

To get the previous behaviour, the Version line should then
look like this:

Version: %{planex_version}

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Fix tests.
Remove mock dir - it wasn't being used and is wrong conceptually
Add some tests, particularly of the mercurial integration.
Add ftp to the list of protocols passed to curl

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Add planex demo

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Add some WIP documentation
Update demo.md
Add test-hg.tar.gz, missing from previous commit
Merge branch 'hg-and-updates' of github.com:jonludlam/planex into hg-and-updates
Merge pull request #60 from jonludlam/hg-and-updates

Hg and updates
planex-build: Re-enable mock tmpfs plugin

Signed-off-by: Euan Harris <euan.harris@citrix.com>