First attempt at templating out IntervalDomainSpace/PeriodicDomainSpace
Tests now pass: fixed canonicaldomain
Merge branch 'master' of https://github.com/ApproxFun/ApproxFun.jl
Used FunctionSpace{T} in Sigma