Minor bug fixes

* has() -> haskey() (there are likely more of these)
* typo in test/pooleddataarray.jl
Replace deprecated calls to has() with contains()
Modified formula.jl to handle ~ Days + (1+Days|Subject)