Renamed the method conf and added an optional parameter

The name 'config' conflicts with catalyst controllers, and resulted in
the role not applying properly to those. Additionally controllers will
leak memory if they use a 'c' attribute, so allowing both the attribute or
a $c parameter to be used ensures it acommodates both.
Fixed tempdir calls to use the system tmp dir
Added plugin support for liveHeader