Controlling extension actions with waffle

Added an is_active() method that checks if the extension action specifies
a _waffle_flag property and returns if it is active or not.