Communities are finding innovative ways to transform their abandoned malls and big-box stores into more useful spaces.