Added better environment checking (PHP from CLI wasn't picking up environment)
Added database migrations for forums, threads, posts, and files