base controllers: layout method for automatic ajax handling in all actions