added pmd with basic and braces rulesets
extract constants for default idea sort and query
Adding photo support to ideas