Bug 918255 - Filter out functions from addon properties because they break JSON.stringify(). r=ctalbert